import { h } from 'vue'
import type { Component } from 'vue'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

// 自定义图标组件
export const Pet = (props: any) => {
  return h(ElementPlusIconsVue.Star || ElementPlusIconsVue.Heart || ElementPlusIconsVue.House || 'span', props)
}

export const Service = (props: any) => {
  return h(ElementPlusIconsVue.Operation || 'span', props)
}

export const Vaccine = (props: any) => {
  return h(ElementPlusIconsVue.Finished || 'span', props)
}

export const Deworming = (props: any) => {
  return h(ElementPlusIconsVue.Stamp || 'span', props)
}

// 导出所有图标
export {
  House,
  User,
  Box,
  Calendar,
  FirstAidKit,
  Setting,
  Notification
} from '@element-plus/icons-vue' 